<%@ page import="com.neuedu.entity.Dept" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--<%--%>
<%--    Dept dept = (Dept) request.getAttribute("dept");--%>

<%--%>--%>
<h3>MVC修改</h3>
  <form action='<%=request.getContextPath()%>/dept' method='post'>
      <input type='hidden' name='_type' value='update'/>
      deptno:<input type='text' name='deptno' value="${dept.deptno}"> <br>
      deptno:<input type='text' name='dname' value="${dept.dname}"> <br>
      deptno:<input type='text' name='loc' value="${dept.loc}"> <br>
      <input type='submit' value='修改' />
  </form>
</body>
</html>
